package com.kws.system.domain.info;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import com.kws.system.domain.TbExtendImage;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * <b>QueryExtendInfo</b>
 *
 * @description: QueryExtendInfo <br>
 * @date: 2024/12/3 17:36 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryExtendInfo {
    @ApiModelProperty(value = "主见ID")
    private Long id;

    @ApiModelProperty(value = "模块类型")
    private String moduleType;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "图片列表")
    private List<TbExtendImage> extendImageList;

    @ApiModelProperty(value = "图片链接")
    private String pictureLink;

    @ApiModelProperty(value = "图片排序")
    private String imageSort;

    @ApiModelProperty(value = "创建用户")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "推广系统")
    private String channel;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getModuleType() {
        return moduleType;
    }

    public void setModuleType(String moduleType) {
        this.moduleType = moduleType;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public List<TbExtendImage> getExtendImageList() {
        return extendImageList;
    }

    public void setExtendImageList(List<TbExtendImage> extendImageList) {
        this.extendImageList = extendImageList;
    }

    public String getPictureLink() {
        return pictureLink;
    }

    public void setPictureLink(String pictureLink) {
        this.pictureLink = pictureLink;
    }

    public String getImageSort() {
        return imageSort;
    }

    public void setImageSort(String imageSort) {
        this.imageSort = imageSort;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return DateUtil.format(createTime, DatePattern.NORM_DATETIME_FORMATTER);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }
}
